
    
     <#assign colSpan = 1>
     
     <#if statistic?? && statistic.dimensionList??>
		<#assign colSpan = colSpan + statistic.dimensionList?size>
     </#if>

<#if statistic?? && statistic.statisticItemList??>
<#assign colSpan = colSpan + statistic.statisticItemList?size>
  </#if>



     <table  id="mytable" cellspacing="0" width="90%">
	<tr>

	<th colSpan=${colSpan} >
           <#if statistic??>	   
	         <span alt="更新数量：上次退出系统后截止目前业务更新的数量" altbg="#F7F7F7" altcolor="#999999" altborder="#CCCCCC">		
		   ${statistic.name?default('')}	   
		 </span>

	   </#if> 
	</th>

	</tr>	
	<tr >
		<td style="width:20px;" nowrap >序号</td>
		<#if statistic?? && statistic.dimensionList??>
			<#list statistic.dimensionList as dimen>
			<td <#if dimen.width??>width="${dimen.width}"<#else>style="width:50%"</#if>>${dimen.name}</td>
			</#list>
		</#if>
		<#if statistic?? && statistic.statisticItemList??>
			<#list statistic.statisticItemList as item>
			<td <#if item.width??>width="${item.width}"<#else>style="width:50%"</#if>>${item.name}</td>
			</#list>
		</#if>
	</tr>
	<#assign index=1>
	<#list data_list as data>
		<tr>
		<td> ${index}</td>
		<#if statistic?? && statistic.dimensionList??>
			<#list statistic.dimensionList as dimen>
			<td <#if dimen.width??>width="${dimen.width}"<#else>style="width:50%"</#if>><#if data.fieldMap[dimen.field.name]??>${data.fieldMap[dimen.field.name].value?default('')}</#if></td>
			</#list>
		</#if>
		<#if statistic?? && statistic.statisticItemList??>
			<#list statistic.statisticItemList as item>
			<#if item.field?? && item.field.name??>
			<#assign itemKey=(item.statisticMethod+"("+item.field.name+")")>
			<#else>
			<#assign itemKey=item.statisticMethod>
			</#if>
			<td <#if item.width??>width="${item.width}"<#else>style="width:50%"</#if>> <#if data.fieldMap[itemKey]??>${data.fieldMap[itemKey].value?default('')}</#if></td>
			</#list>
		</#if>
		</tr>
		<#assign index=index+1>
	</#list>
</table>